package com.design.visitor.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/18
 */
public class Visitor1 implements Visitor {
    @Override
    public void visit(Forward forward) {
        System.out.println("研究前锋的跑动距离");
    }

    @Override
    public void visit(Midfielder midfielder) {
        System.out.println("研究中场的抢断次数");
    }
}
